{% extends "places/base_places.html" %}


{% block title %}{{ object.full_title }}{% endblock %}


{% block content %}
  {% load markup %}
  <h2 class="title">{{ object.full_title }} <em class="phone">{{ object.phone }}</em></h2>
  <h3 class="address">{{ object.point.address }}, <a href="{{ object.point.city.get_absolute_url }}">{{ object.point.city }}</a> {{ object.point.zip }}</h3>
  
  <ul class="details">
    <li><a href="{{ object.url }}">Website</a></li>
    <li><a href="mailto:{{ object.email }}">Email</a></li>
    <li>Type: {% for type in object.place_types.all %}<a href="{{ type.get_absolute_url }}">{{ type }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</li>
  </ul>
  
  {% if object.description %}
  <div class="description">
    <h3>Description</h3>
    {{ object.description|markdown }}
  </div>
  {% endif %}
{% endblock %}